point2D ({a = 1, b}) {
  var x = 1;
  var y = 2;
  x = a;
  y = b;
  return { x, y };
}

point3D () {
  var x = 1;
  var y = 2;
  return [ x, y ];
}

point4D ({a = 1, b}) {
  var x = 1;
  var y = 2;
  x = a;
  y = b;
  return { 'x': x, 'y': y };
}

runPoint () {
  var p2 = point2D(a: 2, b: 3);
  var p3 = point3D();
  var p4 = point4D(a: 2, b: 3);

  print(p2);
  print(p2.contains(5));
  print(p3[0]);
  print(p4['x']);
}
